Learn R Programming

mvQuad (version 1.0-5)

size (size.NIGrid): returns the size of an NIGrid-object

Description

Returns the size of an NIGrid-object

Usage

size(object, ...)
"size"(object, ...)
"dim"(x)

Arguments

object
a grid of type NIGrid
...
other arguments passed to the specific method
x
object of type NIGrid

Value

Returns the grid size in terms of dimensions, number of grid points and used memory

Examples

Run this code
myGrid <- createNIGrid(dim=2, type="GHe", level=5)
size(myGrid)
dim(myGrid)

Run the code above in your browser using DataLab